package com.sc.VenusQueryBeta.model.bean.account;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

/**
 * Created by Administrator on 13/10/2018.
 *
 */

@Root(name = "List",strict = false)
public class AccountList {
    public java.util.List<Clients> getClients() {
        return clients;
    }
    //inline = true 内联,如下面这种
/* <entry name =“one”/>
<entry name =“two”/>
<entry name =“three”/> */
//entry:这用于提供表示列表中条目的XML元素的名称,需要和xml中保持一致(也可以理解为入口)
    @ElementList(inline = true,required = false)
    private java.util.List<Clients> clients;

    public String getCommonValueSum() {
        return commonValueSum;
    }

    public void setCommonValueSum(String commonValueSum) {
        this.commonValueSum = commonValueSum;
    }

    public String getLendlimitSum() {
        return lendlimitSum;
    }

    public void setLendlimitSum(String lendlimitSum) {
        this.lendlimitSum = lendlimitSum;
    }

    @Attribute(required=false)
    private String commonValueSum;

    @Attribute(required=false)
    private String lendlimitSum;

    /**
     * Created by walle9 on 2017/9/21.
     * 描述:
     */

    @Root(name = "clients" ,strict = false)
    public static class Clients {

        public String getClientnamecn() {
            return clientnamecn;
        }

        public void setClientnamecn(String clientnamecn) {
            this.clientnamecn = clientnamecn;
        }

        public String getClientid() {
            return clientid;
        }

        public void setClientid(String clientid) {
            this.clientid = clientid;
        }

        public String getClientindex() {
            return clientindex;
        }

        public void setClientindex(String clientindex) {
            this.clientindex = clientindex;
        }

        public String getReserved01() {
            return reserved01;
        }

        public void setReserved01(String reserved01) {
            this.reserved01 = reserved01;
        }

        public String getClientgroupsCount() {
            return clientgroupsCount;
        }

        public void setClientgroupsCount(String clientgroupsCount) {
            this.clientgroupsCount = clientgroupsCount;
        }

        public String getClientnameen() {
            return clientnameen;
        }

        public void setClientnameen(String clientnameen) {
            this.clientnameen = clientnameen;
        }

        @Element(name = "clientnamecn",required = false)
        private String clientnamecn;
        @Element(name = "clientid",required = false)
        private String clientid;
        @Element(name = "clientindex",required = false)
        private String clientindex;
        @Element(name = "reserved01",required = false)
        private String reserved01;
        @Element(name = "clientgroupsCount",required = false)
        private String clientgroupsCount;
        @Element(name = "clientnameen", required = false)
        private String clientnameen;
        @Element(name = "commonValue",required = false)
        private String commonValue;

        public String getCommonValue() {
            return commonValue;
        }

        public void setCommonValue(String commonValue) {
            this.commonValue = commonValue;
        }

        public String getRedeemSum() {
            return redeemSum;
        }

        public void setRedeemSum(String redeemSum) {
            this.redeemSum = redeemSum;
        }


        @Element(name = "redeemSum",required = false)
        private String redeemSum;

    }
}
